package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class OrderConfirmRequest {

    @ApiModelProperty("活动Id")
    @NotNull(message = "活动id不能为空")
    private Long activityId;

    @ApiModelProperty("活动规格Id")
    @NotNull(message = "活动规格id不能为空")
    private Long specsId;

    @ApiModelProperty("分组Id")
    private Long groupId;

    @ApiModelProperty("数量")
    @Range(min = 1,max = 999,message = "数量不正确")
    private Integer count=1;

    @ApiModelProperty("分享团队ID")
    private Long shareTeamId;


}
